package com.joinway.framework.data.jdbc.bean;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.domain.constant.SqlConstants;

@ApiObject(name = "OrderItem", description = "排序字段")
public class OrderItem extends FieldItem {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiObjectField(description="排序方式，默认升序",required=false,format="asc,desc") 
	private String sort = SqlConstants.Order.Asc;

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
}
